/* Importar una fuente similar a la del video, por ejemplo, 'Poppins' de Google Fonts */
@import url('https://fonts.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
/* También la fuente para la firma */
@import url('https://fonts.com/css2?family=Dancing+Script:wght@400;700&display=swap');

:root {
    --primary-color: #007bff; /* Color azul de ejemplo, ajusta si es necesario */
    --secondary-color: #6c757d; /* Color gris de ejemplo */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --header-transparent-white-bg: rgba(255, 255, 255, 0.85); /* ¡NUEVA VARIABLE! Fondo blanco semitransparente para el scroll */
    --hover-gold: #bfad93; /* Dorado para hover*/
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden; /* Evita el scroll horizontal */
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem */
}

/* --- Globales y Utilidades --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--hover-gold);
    border-color: var(--hover-gold);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: #fff;
    border: 2px solid #fff;
    color: var(--text-dark);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--hover-gold);
    border-color: var(--hover-gold);
    color: var(--text-dark);
}

/* --- Header / Navegación --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem; /* Ajuste para desktop */
    background-color: transparent; /* ¡EL HEADER ES TRANSPARENTE POR DEFECTO! */
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Estilos para cuando el header tiene scroll */
.main-header.scrolled {
    padding: 0.8rem 3rem; /* Padding reducido al hacer scroll */
    background-color: var(--header-transparent-white-bg); /* ¡CAMBIO CLAVE! Ahora será blanco semitransparente al hacer scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra más sutil para fondo claro */
}

/* Colores de los elementos del header (logo, nav, iconos) */
.main-header .logo,
.main-header .header-right .icon-link,
.main-header .menu-toggle {
    color: #fff; /* Blanco por defecto (sobre fondo transparente del video) */
    transition: color 0.3s ease;
}

/* Colores de los elementos del header cuando se hace scroll (sobre fondo blanco/claro) */
.main-header.scrolled .logo,
.main-header.scrolled .header-right .icon-link,
.main-header.scrolled .menu-toggle {
    color: var(--text-dark); /* ¡CAMBIO CLAVE! Ahora serán oscuros sobre el fondo blanco! */
}

/* Hover de los enlaces del menú - siempre dorado */
.header-right .icon-link:hover {
    color: var(--hover-gold) !important;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
}

/* --- ESTILOS PARA LOS BOTONES DE NAVEGACIÓN --- */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem; /* Ajustar el espacio entre los "botones" */
}

.main-nav a {
    display: inline-block;
    padding: 0.7em 1.2em; /* Ajustado un poco para la navegación */
    border-style: solid;
    border-width: 1px;
    border-color: #fff; /* Borde blanco */
    background-color: rgba(255, 255, 255, 0.1); /* Fondo semitransparente para los botones en estado transparente */
    border-radius: 999em; /* Para la forma de píldora */
    transition-property: all;
    transition-duration: 350ms;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff; /* Texto blanco */
    font-size: 0.8em; /* Ajustado el tamaño de fuente para la navegación */
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 1; /* Para asegurar que estén por encima de cualquier cosa debajo */
}

/* Desactivar el efecto de subrayado original para los enlaces que ahora son botones */
.main-nav a::after {
    display: none;
}

/* Hover de los enlaces del menú - la animación de expansión */
.main-nav a:hover {
    padding-right: 2.5em; /* Ajustado el valor de expansión */
    padding-left: 2.5em; /* Ajustado el valor de expansión */
    color: var(--hover-gold); /* El texto cambia a dorado */
    border-color: var(--hover-gold); /* El borde cambia a dorado */
    background-color: rgba(255, 255, 255, 0.2); /* Fondo ligeramente más visible al pasar el ratón */
}

/* Estilos de los botones cuando el header hace scroll (sobre fondo blanco/claro) */
.main-header.scrolled .main-nav a {
    font-weight: bold;
    border-color: var(--text-dark); /* ¡CAMBIO CLAVE! Borde oscuro */
    background-color: rgba(0, 0, 0, 0.05); /* Fondo ligeramente oscuro para los botones sobre el header blanco/claro */
    color: var(--text-dark); /* ¡CAMBIO CLAVE! Texto oscuro */
}

.main-header.scrolled .main-nav a:hover {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.1); /* Fondo con tinte oscuro al pasar el ratón */
    border-color: var(--hover-gold); /* Borde dorado */
    color: var(--hover-gold); /* Texto dorado al pasar el ratón */
}
/* --- FIN DE ESTILOS PARA LOS BOTONES DE NAVEGACIÓN --- */


.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-right .icon-link {
    font-size: 1.2rem;
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Oculto por defecto en desktop */
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurecer el video */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Espacio para el header fijo */
}

.hero-intro-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    opacity: 0.8;
}

.hero-dynamic-text {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--hover-gold); /* El color del texto dinámico */
}

/* Animación para el cambio de palabra */
.hero-dynamic-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeAndSlideIn 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeAndSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.scroll-down-arrow {
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    position: absolute;
    bottom: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0; /* Espaciado superior e inferior */
    background-color: #f8f8f8;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    padding: 0 1rem;
}

.about-text-content {
    flex: 1;
    padding-right: 2rem; /* Espacio entre texto e imagen */
}

.about-text-content .section-title {
    font-size: 2rem;
}

.about-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color); /* O un color que combine */
}

.about-description p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

.signature {
    font-family: 'Dancing Script', cursive; /* Necesitaría importar esta fuente */
    font-size: 1.8rem;
    margin-top: 2rem;
    color: var(--text-dark);
}

.about-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Bordes ligeramente redondeados */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Chat Button --- */
.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.btn-chat {
    background-color: #28a745; /* Verde de ejemplo */
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px; /* Botón ovalado */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-chat:hover {
    background-color: #218838;
}


/* --- Media Queries para Responsividad --- */

/* Tabletas y Laptops pequeñas */
@media (max-width: 1024px) {
    .main-header {
        padding: 1.5rem 2rem;
    }

    /* En este breakpoint, el header se vuelve sólido antes para mejor visibilidad */
    .main-header.scrolled {
        padding: 0.8rem 2rem;
    }

    .main-nav ul {
        gap: 0.8rem; /* Reducir el espacio entre los botones */
    }

    .main-nav a {
        padding: 0.6em 1em; /* Ajustar padding para tabletas */
        font-size: 0.7em;
    }

    .main-nav a:hover {
        padding-right: 2em; /* Menor expansión en tabletas */
        padding-left: 2em;
    }

    .hero-dynamic-text {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column; /* Botones apilados en tabletas */
        gap: 0.8rem;
    }
    .btn-secondary {
        margin-left: 0; /* Eliminar margen para apilamiento */
    }

    .about-container {
        flex-direction: column; /* Apilar contenido en la sección 'Acerca de' */
        text-align: center;
        gap: 2rem;
    }

    .about-text-content {
        padding-right: 0;
    }

    .about-image-content {
        order: -1; /* Mover la imagen arriba en la pila */
    }

    .about-image {
        max-width: 80%; /* Asegurar que la imagen no sea demasiado ancha */
    }

    .chat-button {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Teléfonos móviles */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap; /* Permite que los elementos se envuelvan */
        justify-content: space-between; /* Ajustar de nuevo el justify-content */
        /* En móviles, se recomienda que el header sea sólido desde el principio para evitar problemas de contraste */
        background-color: var(--header-transparent-white-bg); /* ¡CAMBIO CLAVE! AHORA ES BLANCO SEMI TRANSPARENTE SIEMPRE EN MÓVILES! */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra más sutil */
    }
    /* En móviles, la clase scrolled no cambiará el fondo, ya es sólido */
    .main-header.scrolled {
        padding: 0.5rem 1rem;
    }

    /* Colores de los elementos del header en móviles - siempre oscuros */
    .main-header .logo,
    .main-header .header-right .icon-link,
    .main-header .menu-toggle {
        color: var(--text-dark); /* ¡CAMBIO CLAVE! Ahora son oscuros */
    }


    .main-nav {
        display: none; /* Oculta la navegación principal por defecto */
        width: 100%;
        order: 3; /* Asegura que el nav aparezca debajo cuando está visible */
        background-color: var(--header-transparent-white-bg); /* Fondo para el menú desplegado, consistente */
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .main-nav.active { /* Clase para mostrar el menú con JS */
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .main-nav a {
        /* Desactivar la animación de expansión en móviles y volver a un estilo de enlace de texto */
        padding-right: 0;
        padding-left: 0;
        border-color: transparent;
        background-color: transparent;
        color: var(--text-dark); /* ¡CAMBIO CLAVE! Texto oscuro para enlaces del menú móvil */
        font-size: 1rem;
        border-radius: 0;
        transition: none; /* Desactivar transiciones para menú móvil si no se necesitan */
    }

    /* Ocultar el subrayado en el menú móvil para evitar desorden */
    .main-nav a::after {
        display: none;
    }

    /* Efecto al presionar para móviles */
    .main-nav a:active {
        transform: scale(0.94);
        transition: transform 100ms ease-out; /* Transición más rápida para feedback inmediato */
    }

    .header-right {
        margin-left: auto; /* Empuja los iconos a la derecha */
        gap: 1rem;
    }

    .menu-toggle {
        display: block; /* Muestra el icono de hamburguesa */
        font-size: 1.5rem;
        /* El color ya lo definimos arriba para que sea oscuro */
        cursor: pointer;
    }

    .hero-intro-text {
        font-size: 1rem;
    }

    .hero-dynamic-text {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        width: 90%; /* Ajuste de ancho para los botones */
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .scroll-down-arrow {
        font-size: 1.5rem;
        bottom: 1rem;
    }

    .about-section {
        padding: 4rem 0;
    }

    .about-text-content .section-title {
        font-size: 1.8rem;
    }

    .about-description h3 {
        font-size: 1.3rem;
    }

    .about-description p {
        font-size: 0.9rem;
    }

    .signature {
        font-size: 1.5rem;
    }

    .chat-button {
        bottom: 1rem;
        right: 1rem;
    }

    .btn-chat {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Teléfonos muy pequeños */
@media (max-width: 480px) {
    .main-header {
        padding: 0.8rem 1rem;
    }
    .main-header.scrolled {
        padding: 0.4rem 0.8rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .header-right {
        gap: 0.8rem;
    }
    .header-right .icon-link {
        font-size: 1rem;
    }

    .hero-dynamic-text {
        font-size: 2rem;
    }

    .hero-buttons {
        width: 95%;
    }
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .about-text-content .section-title {
        font-size: 1.5rem;
    }
}

/* --- NUEVOS ESTILOS PARA LA SECCIÓN DE CARACTERÍSTICAS/CTA --- */
.features-section {
    display: flex; /* Para poner la imagen y el contenido uno al lado del otro */
    align-items: center; /* Centrar verticalmente el contenido */
    background-color:#333; /* Fondo oscuro para esta sección */
    color: var(--text-light); /* Texto claro */
    min-height: 60vh; /* Altura mínima para que se vea bien */
}

.features-image-col {
    flex: 1; /* Ocupa la mitad del espacio */
    overflow: hidden; /* Asegura que la imagen no se desborde */
    height: 100%; /* La columna de la imagen ocupa toda la altura disponible */
    display: flex; /* Para centrar la imagen si es necesario */
    justify-content: center;
    align-items: center;
}

.features-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre el área sin distorsión */
    filter: grayscale(100%); /* Poner la imagen en escala de grises */
    transition: filter 0.5s ease; /* Transición suave para el efecto de color */
}

.features-image:hover {
    filter: grayscale(0%); /* Quitar escala de grises al pasar el ratón */
}

.features-content-col {
    flex: 1; /* Ocupa la otra mitad del espacio */
    padding: 3rem 4rem; /* Espaciado interno */
    text-align: left; /* Alineación del texto a la izquierda */
}

.features-title {
    font-size: 2.8rem; /* Título grande */
    font-weight: 700;
    color: #fff; /* Blanco */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-description {
    font-size: 1rem;
    color: #ccc; /* Gris claro para la descripción */
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-features {
    background-color:#28a745; /* Color amarillo brillante para el botón */
    color:#f8f8f8; /* Texto oscuro en el botón */
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-features:hover {
    background-color:#218838; /* Oscurecer un poco al pasar el ratón */
    color:#ffffff;
}
/* --- FIN DE NUEVOS ESTILOS PARA LA SECCIÓN DE CARACTERÍSTICAS/CTA --- */


/* Media Queries para la sección de Características/CTA */
@media (max-width: 1024px) {
    .features-section {
        flex-direction: column; /* Apilar imagen y contenido */
        padding: 4rem 0; /* Ajustar padding */
    }
    .features-image-col {
        width: 100%;
        height: 40vh; /* Altura fija para la imagen */
    }
    .features-content-col {
        padding: 3rem 2rem; /* Reducir padding */
        text-align: center; /* Centrar texto */
    }
    .features-title {
        font-size: 2.2rem;
    }
    .features-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        flex-direction: column; /* Asegura que se apile */
        padding: 3rem 0;
    }
    .features-image-col {
        height: 30vh; /* Altura más pequeña para la imagen en móvil */
    }
    .features-content-col {
        padding: 2rem 1.5rem; /* Menos padding */
    }
    .features-title {
        font-size: 1.8rem;
    }
    .features-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    .btn-features {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 1.5rem;
    }
    .features-description {
        font-size: 0.8rem;
    }
    .btn-features {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}
/* --- NUEVOS ESTILOS PARA LA SECCIÓN DE INTRODUCCIÓN AL TEMAZCAL (image_3e487b.jpg) --- */
.temazcal-intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem; /* Espaciado interno */
    background-color: #f8f8f8; /* Fondo claro como en la imagen */
    color: #333; /* Texto oscuro */
    gap: 4rem; /* Espacio entre las columnas */
    max-width: 1400px; /* Ancho máximo para el contenido */
    margin: 0 auto; /* Centrar la sección */
}

.temazcal-intro-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Para posicionar el badge */
}

.temazcal-intro-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px; /* Tamaño máximo para la imagen */
    /* Asegurarse de que la relación de aspecto sea buena */
    padding-bottom: 75%; /* 4:3 o ajusta según la imagen original */
    height: 0;
    overflow: hidden;
    border-radius: 10px; /* Bordes ligeramente redondeados */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra para profundidad */
}

.temazcal-intro-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px; /* Asegurar que la imagen también tenga bordes redondeados */
}

.temazcal-intro-badge {
    position: absolute;
    top: -20px; /* Ajusta la posición vertical */
    right: -20px; /* Ajusta la posición horizontal */
    background-color: #A0522D; /* Color terracota/marrón oscuro para el badge */
    color: #fff;
    border-radius: 50%; /* Forma circular */
    width: 120px; /* Tamaño del círculo */
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif; /* Usar la misma fuente general */
    padding: 5px; /* Pequeño padding interno */
    box-sizing: border-box; /* Incluir padding en el tamaño */
    z-index: 10; /* Asegurar que esté por encima de la imagen */
}

.temazcal-intro-badge .badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.temazcal-intro-badge .badge-logo {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
    text-transform: uppercase;
}


.temazcal-intro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.temazcal-intro-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4CAF50; /* Verde vibrante como en el logo */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.temazcal-intro-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.btn-temazcal-reserve {
    display: inline-block;
    background-color: #FFC107; /* Amarillo/Dorado para el botón */
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Botón redondeado */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-temazcal-reserve:hover {
    background-color: #e0a800; /* Amarillo más oscuro al pasar el ratón */
    transform: translateY(-3px); /* Pequeño efecto de elevación */
}

/* --- Media Queries para la Sección de Introducción al Temazcal --- */
@media (max-width: 1024px) {
    .temazcal-intro-section {
        flex-direction: column; /* Apilar las columnas en pantallas más pequeñas */
        padding: 4rem 1.5rem;
        gap: 2.5rem;
    }

    .temazcal-intro-left {
        width: 100%;
        max-width: 500px; /* Limitar el ancho de la imagen apilada */
        margin: 0 auto;
    }

    .temazcal-intro-image-wrapper {
        padding-bottom: 65%; /* Ajustar la proporción para móviles si es necesario */
    }

    .temazcal-intro-badge {
        top: 10px; /* Ajustar posición del badge al apilar */
        right: 10px;
        width: 100px;
        height: 100px;
    }

    .temazcal-intro-badge .badge-text {
        font-size: 0.8rem;
    }

    .temazcal-intro-badge .badge-logo {
        font-size: 1rem;
    }

    .temazcal-intro-right {
        width: 100%;
        text-align: center; /* Centrar el texto en móviles */
    }

    .temazcal-intro-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .temazcal-intro-text {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .btn-temazcal-reserve {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .temazcal-intro-section {
        padding: 3rem 1rem;
        gap: 2rem;
    }

    .temazcal-intro-image-wrapper {
        padding-bottom: 70%; /* Mayor altura en relación al ancho para imagen en móvil */
    }

    .temazcal-intro-badge {
        width: 80px;
        height: 80px;
        top: -10px;
        right: -10px;
    }

    .temazcal-intro-badge .badge-text {
        font-size: 0.7rem;
    }

    .temazcal-intro-badge .badge-logo {
        font-size: 0.9rem;
    }

    .temazcal-intro-title {
        font-size: 1.8rem;
    }

    .temazcal-intro-text {
        font-size: 0.9rem;
    }

    .btn-temazcal-reserve {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .temazcal-intro-section {
        padding: 2rem 0.8rem;
        gap: 1.5rem;
    }

    .temazcal-intro-image-wrapper {
        padding-bottom: 80%; /* Ajuste para imágenes más "cuadradas" en móviles pequeños */
    }

    .temazcal-intro-badge {
        width: 70px;
        height: 70px;
        top: -5px;
        right: -5px;
    }

    .temazcal-intro-badge .badge-text {
        font-size: 0.6rem;
    }

    .temazcal-intro-badge .badge-logo {
        font-size: 0.8rem;
    }

    .temazcal-intro-title {
        font-size: 1.5rem;
    }

    .temazcal-intro-text {
        font-size: 0.85rem;
    }

    .btn-temazcal-reserve {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
}
/* Estilos para la sección que abarca todo el ancho */
.full-width-section {
    width: 100%; /* Asegura que la sección ocupe el 100% del ancho del viewport */
    padding: 0;  /* Elimina cualquier padding que pueda crear espacio en los bordes */
    margin: 0;   /* Elimina cualquier margen que pueda crear espacio en los bordes */
    overflow: hidden; /* Oculta cualquier desbordamiento si la imagen es ligeramente más grande */
    background-color: #f0f0f0; /* Solo para visualización de la sección */
}

.full-width-image-container {
    width: 100%; /* Asegura que el contenedor de la imagen también ocupe el 100% */
    padding: 0;
    margin: 0;
    /* Puedes añadir un min-height si quieres asegurar una altura mínima para el contenedor */
    /* min-height: 300px; */
    display: flex; /* Opcional: si quieres centrar verticalmente contenido además de la imagen */
    justify-content: center;
    align-items: center;
}

/* Estilos para la imagen responsiva */
.responsive-image {
    width: 100%; /* La imagen ocupará el 100% del ancho de su contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Elimina espacio extra */
    object-fit: cover; /* Recorta la imagen si es necesario para cubrir el contenedor sin distorsionar */
    /* Si quieres que la imagen siempre cubra la altura de la sección y se recorte lo que exceda: */
    /* height: 100%; */
}

/* Estilos para otras secciones con ancho limitado (como tu .container habitual) */
.limited-width-section {
    width: 100%;
    margin: 0 auto;
    max-width: 900px; /* Ejemplo de ancho máximo para tu contenido principal */
    padding: 20px;
    box-sizing: border-box;
    background-color: white;
}

/* Resto de tus estilos, como el header y navbar, irían aquí */
/* Por ejemplo, si tu body tiene un margen o padding por defecto, deberías resetearlo: */
/* === ESTILOS PARA LA NUEVA SECCIÓN 1 === */

.section-1-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 40px; /* Espaciado generoso */
    position: relative;
    overflow: hidden; /* Evita desbordamientos en pantallas pequeñas */
    background: #f0eae4; /* Un color de fondo cálido y terroso */
}

.creative-layout {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Ancho máximo del contenedor */
    margin: 0 auto;
    display: flex;
    justify-content: flex-start; /* Alineamos la imagen a la izquierda */
    align-items: center;
}

.creative-image-wrapper {
    width: 65%; /* Ancho de la imagen */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1; /* Detrás del texto */
    transform: rotate(-3deg); /* Una ligera rotación para un toque dinámico */
    transition: transform 0.4s ease;
}

.creative-layout:hover .creative-image-wrapper {
    transform: rotate(0deg); /* La imagen se endereza al pasar el cursor */
}

.creative-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.creative-text-box {
    position: absolute; /* CLAVE para la superposición */
    width: 50%; /* Ancho del cuadro de texto */
    right: 0; /* Lo posicionamos a la derecha del contenedor */
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.6); /* Fondo blanco semitransparente */
    backdrop-filter: blur(12px); /* El efecto "vidrio esmerilado" */
    -webkit-backdrop-filter: blur(12px); /* Para compatibilidad con Safari */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2; /* Por encima de la imagen */
}

.creative-text-box h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
    line-height: 1.2;
}

.creative-text-box p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 25px;
}

.creative-text-box .btn-primary {
    background-color: #8B4513; /* Un color siena tostado, va con la temática */
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.creative-text-box .btn-primary:hover {
    background-color: #5a2d0c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .creative-text-box {
        width: 60%;
    }
    .creative-text-box h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section-1-container {
        padding: 60px 20px;
    }
    .creative-layout {
        flex-direction: column; /* Apilamos los elementos verticalmente */
    }
    .creative-image-wrapper {
        width: 100%;
        transform: rotate(0deg); /* Quitamos la rotación en móvil */
        margin-bottom: -50px; /* Hacemos que el texto se monte sobre la imagen */
    }
    .creative-text-box {
        position: relative; /* Devolvemos la posición a la normalidad */
        width: 90%;
        padding: 30px;
    }
}
/* --- INICIO: Lógica para cambiar el logo con scroll --- */
